package com.lgj.web.permission.service.impl;

import com.lgj.result.ResultBody;
import com.lgj.web.permission.mapper.DataPermissionColumnMapper;
import com.lgj.web.permission.mapper.DataPermissionConfigMapper;
import com.lgj.web.permission.mapper.DataPermissionRowMapper;
import com.lgj.web.permission.model.DataPermissionConfig;
import com.lgj.web.permission.model.vo.ColumnPermissionVO;
import com.lgj.web.permission.model.vo.RowPermissionVO;
import com.lgj.web.permission.service.PermissionConfigService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: guangjie.liao
 * @since: 2024/3/28 21:33
 * @description:
 */
@Slf4j
@Service
public class PermissionConfigServiceImpl implements PermissionConfigService {
    @Autowired
    private DataPermissionConfigMapper permissionConfigMapper;

    @Autowired
    private DataPermissionColumnMapper permissionColumnMapper;

    @Autowired
    private DataPermissionRowMapper permissionRowMapper;

    @Override
    public ResultBody rowPermissionSaveOrUpdate(RowPermissionVO rowPermission) {

        return null;
    }

    @Override
    public ResultBody rowPermissionSelectById(Integer configId) {
        return null;
    }

    @Override
    public ResultBody columnPermissionSaveOrUpdate(ColumnPermissionVO columnPermission) {
        return null;
    }

    @Override
    public ResultBody columnPermissionSelectById(Integer configId) {
        return null;
    }

    private void checkPermissionConfigParam(DataPermissionConfig config){

    }
}
